# img="cudatest:20250402"; docker image rm $img; docker build  -t $img .

FROM nvcr.io/nvidia/k8s/cuda-sample:vectoradd-cuda11.7.1-ubuntu20.04
WORKDIR /work
COPY demo ./demo/
LABEL maintainer="wanghuiict@sina.com"
RUN apt update \
  && apt install -y python3 python3-prometheus-client python3-flask \
  && apt clean
EXPOSE 8080
ENTRYPOINT ["python3", "/work/demo/app.py"]
#CMD ["/bin/bash", "-l"]
